Facebook Marketing
info
- This data source requires the third-party version of Chaos Genius. Please install the third-party version or upgrade to it.
- This data source is not enabled by default in the third-party version. Please see this section to enable it.
Chaos Genius uses Airbyte's Facebook Marketing to sync the following core Streams:
AdSets.Facebook docs
Ads.Facebook docs
AdCreatives.Facebook docs
Campaigns.Facebook docs
In addition, this source is capable of syncing ad insights as a stream. Ad insights can also be segmented by the following categories, where each segment is synced as a separate stream:
Country
DMA (Designated Market Area)
Gender & Age
Platform & Device
Region
The segmented streams contain entries of campaign/adset/ad combinations for each day broken down by the chosen segment.
For more information, see the Facebook Insights API documentation.
To connect Facebook Marketing as a data source, you will need the following information:
Access Token
Account ID
Insights Days Per Job
Insights Lookback Window
Start Date for syncing data
To setup Facebook Marketing, follow these steps:
Follow the Facebook documentation for obtaining your Ad Account ID and keep that on hand. We'll need this ID to configure Facebook as a data source.
Next select your App and from the App's Dashboard screen enable the Marketing API for your app if it is not already set up.
In the App Dashboard screen, click Marketing API --> Tools on the left sidebar. Then highlight all the available token permissions (ads_management, ads_read, read_insights) and click "Get token". A long string of characters should appear in front of you; this is the access token.